Matthias Clasen [Sat, 2 May 2015 22:10:37 +0000 (18:10 -0400)]
GtkLockButton: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 22:05:15 +0000 (18:05 -0400)]
GtkInfoBar: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 22:04:30 +0000 (18:04 -0400)]
GtkFontChooserWidget: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 22:03:50 +0000 (18:03 -0400)]
GtkFontChooserDialog: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 22:03:08 +0000 (18:03 -0400)]
GtkFontButton: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 22:02:26 +0000 (18:02 -0400)]
GtkFileChooserWidget: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 22:01:04 +0000 (18:01 -0400)]
GtkFileChooserDialog: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 22:00:15 +0000 (18:00 -0400)]
GtkFileChooserButton: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 21:59:28 +0000 (17:59 -0400)]
GtkDialog: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 21:57:28 +0000 (17:57 -0400)]
GtkColorEditor: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 21:56:40 +0000 (17:56 -0400)]
GtkColorChooserDialog: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 21:55:52 +0000 (17:55 -0400)]
GtkAssistant: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 21:53:26 +0000 (17:53 -0400)]
GtkAppChooserWidget: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 21:49:07 +0000 (17:49 -0400)]
GtkAppChooserDialog: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 21:39:56 +0000 (17:39 -0400)]
GtkActionBar: Simplify ui template
Matthias Clasen [Sat, 2 May 2015 21:37:54 +0000 (17:37 -0400)]
gtk-builder-tool: Run the tests installed too
Matthias Clasen [Sat, 2 May 2015 21:21:31 +0000 (17:21 -0400)]
gtk-builder-tool: Add some tests
Matthias Clasen [Sat, 2 May 2015 18:41:02 +0000 (14:41 -0400)]
gtk-builder-tool: Some refactoring
Break out similar code into separate functions.
Matthias Clasen [Sat, 2 May 2015 18:39:35 +0000 (14:39 -0400)]
gtk-builder-tool: Strip placeholders
glade likes to sprinkle <child><placeholder/></child> all
over the place - get rid of it.
Matthias Clasen [Sat, 2 May 2015 18:44:15 +0000 (14:44 -0400)]
gtk-builder-tool: Simplify non-translatable properties
Matthias Clasen [Sat, 2 May 2015 17:15:18 +0000 (13:15 -0400)]
gtk-builder-tool: Always emit translatable properties
Seems unlikely that these would ever have a default value,
but better safe than sorry.
Matthias Clasen [Sat, 2 May 2015 16:13:35 +0000 (12:13 -0400)]
gtk-builder-tool: Handle cell properties
These were causing 'unknown property' warnings before.
Yosef Or Boczko [Sat, 2 May 2015 19:22:19 +0000 (22:22 +0300)]
Updated Hebrew translation
Matthias Clasen [Sat, 2 May 2015 15:55:00 +0000 (11:55 -0400)]
docs: Add a note about button 4 & 5
Matthias Clasen [Sat, 2 May 2015 15:51:38 +0000 (11:51 -0400)]
xi2: Don't set button mask 4 and 5
We interpret buttons 4-7 as old-school scroll events, so it does
not make sense to add these to the mask. Also fix an off-by-one
in the loop here, buttons_mask is 1-based.
Matthias Clasen [Sat, 2 May 2015 14:42:15 +0000 (10:42 -0400)]
GtkAboutDialog: Make credits section keyboard navigatable
Its the right thing to do.
Matthias Clasen [Sat, 2 May 2015 14:26:07 +0000 (10:26 -0400)]
GtkAboutDialog: Fix some focus issues
Making a container focusable is rarely the right thing to do.
It typically breaks the focus chain, and makes the container
contents unfocusable, as was the case here.
Matthias Clasen [Sat, 2 May 2015 14:16:55 +0000 (10:16 -0400)]
gtk-builder-tool: Add more exceptions
Matthias Clasen [Sat, 2 May 2015 14:12:54 +0000 (10:12 -0400)]
gtk-builder-tool: Improve docs
Timm Bäder [Sat, 2 May 2015 15:14:38 +0000 (17:14 +0200)]
inspector/misc-info: Fix typo
Cédric Valmary [Sat, 2 May 2015 15:24:35 +0000 (15:24 +0000)]
Updated Occitan translation
Matthias Clasen [Sat, 2 May 2015 11:35:35 +0000 (07:35 -0400)]
gtk-builder-tool: Start an exception list
We have a number of cases where properties should have their
default value overridden in a subclass, but haven't because thats
annoying to do. We also have properties where the absence of
an explicit value has context-dependent meaning.
Add a list of exceptions for these cases.
Matthias Clasen [Sat, 2 May 2015 06:48:19 +0000 (02:48 -0400)]
Fix another ordering issue
Matthias Clasen [Sat, 2 May 2015 06:42:25 +0000 (02:42 -0400)]
GtkPlacesSidebar: Use a popover for renaming bookmarks
This is following the example in gnome-builder.
Matthias Clasen [Sat, 2 May 2015 05:04:01 +0000 (01:04 -0400)]
GtkFileChooser: Fix an ordering issue
The previous commit removed default-valued properties,
but apparently that has a negative effect for grid
packing properties, so put the explicit value back.
Matthias Clasen [Sat, 2 May 2015 03:04:35 +0000 (23:04 -0400)]
GtkFileChooser: Indicate if search comes up empty
This is a neice touch and helps to understand what
is going on.
Matthias Clasen [Fri, 1 May 2015 19:34:08 +0000 (15:34 -0400)]
GtkSearchEngine: Use all search engines
Just using tracker does not work well if you are searching in
non-indexed locations, such as git checkouts or network mounts.
Ideally, we'd decide the 'best' engine to use for each location.
Since that is not easy to do, just run them in parallel for now,
which is the same strategy that nautilus uses.
Руслан Ижбулатов [Thu, 30 Apr 2015 17:46:27 +0000 (17:46 +0000)]
Rewrite simple search engine to use GFile and breadth order
https://bugzilla.gnome.org/show_bug.cgi?id=746916
Matthias Clasen [Fri, 1 May 2015 16:44:11 +0000 (12:44 -0400)]
GtkSearchEngine: Drop unused functionality
Matthias Clasen [Fri, 1 May 2015 11:03:49 +0000 (07:03 -0400)]
win32: Support the decimal point on the keypad
Based on a patch by John Emmas.
Yosef Or Boczko [Fri, 1 May 2015 08:14:58 +0000 (11:14 +0300)]
Update properties Hebrew translation
Yosef Or Boczko [Fri, 1 May 2015 08:14:37 +0000 (11:14 +0300)]
Updated Hebrew translation
Matthias Clasen [Fri, 1 May 2015 02:42:49 +0000 (22:42 -0400)]
Drop a redundant call
g_thread_supported() is always TRUE nowadays, so drop the call.
Matthias Clasen [Fri, 1 May 2015 02:40:45 +0000 (22:40 -0400)]
GtkFileChooser: Use a better busy cursor
It is possible to interact with the file chooser while
things are loading, so use a cursor that indicates this,
if we have one.
Руслан Ижбулатов [Thu, 30 Apr 2015 20:43:18 +0000 (20:43 +0000)]
Fix use-after-free in gdk_window_end_paint()
It's a miracle that this code ever worked.
Piotr Drąg [Thu, 30 Apr 2015 17:13:22 +0000 (19:13 +0200)]
Updated POTFILES.in and POTFILES.skip
William Hua [Thu, 30 Apr 2015 16:41:33 +0000 (12:41 -0400)]
mir: fix build failure due to changed api
Lapo Calamandrei [Thu, 30 Apr 2015 12:37:59 +0000 (14:37 +0200)]
Adwaita: remove duplicated selector.
Chun-wei Fan [Thu, 30 Apr 2015 11:46:56 +0000 (19:46 +0800)]
gdkglcontext-win32.c: Remove Obsolete Comments
We now have proper checks for gdk_screen_is_composited() and a proper
implementation for gdk_screen_get_rgba_visual() for Windows, so we
can remove the comments in this file stating that they aren't
available for Windows.
Matthias Clasen [Thu, 30 Apr 2015 11:46:18 +0000 (07:46 -0400)]
Fix the build
Matthias Clasen [Thu, 30 Apr 2015 11:11:49 +0000 (07:11 -0400)]
gtk-builder-tool: Add an enumerate command
This lists all the named objects from the .ui file.
Matthias Clasen [Thu, 30 Apr 2015 05:18:48 +0000 (01:18 -0400)]
gtk-builder-tool: Validate templates
Catch an error that indicates the file looks like a template,
and then try again, this time with the template parsing API
of GtkBuilder. This is a little iffy, since we need to create
a 'fake' type and instance to pass in, but it works ok in
simple tests.
Matthias Clasen [Thu, 30 Apr 2015 05:21:26 +0000 (01:21 -0400)]
GtkBuilder: Emit a more detailed error for templates
Add the class and parent class name to the error message.
gtk-builder-tool will parse the error message and use the
class names for trying again to parse the file as a template.
Matthias Clasen [Thu, 30 Apr 2015 05:18:09 +0000 (01:18 -0400)]
GtkBuilder: Export the template parsing entry point
This will let gtk-builder-tool validate templates.
Matthias Clasen [Thu, 30 Apr 2015 03:55:59 +0000 (23:55 -0400)]
Adjust tests
Matthias Clasen [Thu, 30 Apr 2015 03:55:07 +0000 (23:55 -0400)]
Convert more GtkBuilder to g_markup_collect_attributes
The core parser itself was left, so handle it as well.
Matthias Clasen [Thu, 30 Apr 2015 01:52:18 +0000 (21:52 -0400)]
Formatting fixes
Alexander Larsson [Thu, 30 Apr 2015 08:26:52 +0000 (10:26 +0200)]
wayland: Don't send bogus values for cursor surface buffer/scale
I was getting really weird values for scale for the blank cursor used
when hiding the cursor in a GtkEntry when typing, this was caused
by gdk_wayland_device_update_window_cursor sending random values
when the returned buffer was NULL.
We fix this by just not sending any buffer or scale updates in this
case.
Руслан Ижбулатов [Wed, 29 Apr 2015 07:31:08 +0000 (07:31 +0000)]
GDK-W32: remove trailing whitespace everywhere
Руслан Ижбулатов [Wed, 29 Apr 2015 07:24:35 +0000 (07:24 +0000)]
W32: bump _WIN32_WINNT and WINVER to 0x600 (Vista)
Move gdkprivate-win32.h include to ensure that this change affects gdkevents-win32.c
Руслан Ижбулатов [Wed, 22 Apr 2015 19:10:55 +0000 (19:10 +0000)]
Enable RGBA windows on W32
Requires Vista and newer.
* Create surfaces with cairo_win32_surface_create_with_format
* Provide an rgba visual that can be distinguished from the system visual
* Make rgba visual the best available visual
* Enable alpha-transparency for all windows that we control
* Check for appropriate cairo capabilities at configure time
(W32 - 1.14.3 newer than 2015-04-14; others - 1.14.0)
* Check for composition support before enabling CSDs
* Re-enable transparency on WM_DWMCOMPOSITIONCHANGED
Windows that were created while composition was enabled and that were CSDed
as a result and will look ugly (thick black borders or no borders at all) once
composition is disabled.
If composition is enabled afterwards, they will return back to normal.
This happens, for example, when RDP session is opened to a desktop where a GTK
application is running. For W7/Vista windows will only re-gain transparency after
the RDP session is closed. For W8 transparency will only be gone momentarily.
Windows that were created while composition was disabled will not be CSDed
automatically and will use SSD (WM decorations), while windows that are CSDed
manually will get a thin square border.
If composition is enabled afterwards, these windows will not change.
This is most noticeable for system menus (popup menus are often generated
on the fly, system menus are created once) and some dialogues (About dialogue,
for example).
https://bugzilla.gnome.org/show_bug.cgi?id=727316
Matthias Clasen [Wed, 29 Apr 2015 19:20:51 +0000 (15:20 -0400)]
Test the new error conditions
Matthias Clasen [Wed, 29 Apr 2015 19:19:31 +0000 (15:19 -0400)]
GtkBuilder: Report more lookup failures as GError
Report failures to lookup objects for property values
and bindings via GError too, and provide location information
while doing so.
https://bugzilla.gnome.org/show_bug.cgi?id=748234
Matthias Clasen [Wed, 29 Apr 2015 18:04:26 +0000 (14:04 -0400)]
Fix inclusion of examples in docs in non-srcdir builds
This is a bit messy, since xsltproc insists on stripping relative
paths to the basename before consulting the paths.
https://bugzilla.gnome.org/show_bug.cgi?id=748640
Yosef Or Boczko [Wed, 29 Apr 2015 11:28:49 +0000 (14:28 +0300)]
Updated Hebrew translation
Matthias Clasen [Tue, 28 Apr 2015 12:38:56 +0000 (08:38 -0400)]
3.17.1
Matthias Clasen [Tue, 28 Apr 2015 14:12:21 +0000 (10:12 -0400)]
Fix distcheck
Simon McVittie [Mon, 20 Apr 2015 13:54:28 +0000 (14:54 +0100)]
Makefile-newvs: some .vcxproj.filters files are in builddir, some in srcdir
Without this change, out-of-tree distcheck doesn't get very far.
Similarly, allow *.vcxproj, *.props to be in either the builddir or
the srcdir.
Finally, since I'm touching these lines anyway, eliminate some
useless uses of cat: "cat x | sed 's/foo/bar/' > y" is
equivalent to "sed 's/foo/bar/' < x > y".
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=748176
Reviewed-by: Chun-wei Fan <fanchunwei@src.gnome.org>
Lapo Calamandrei [Tue, 28 Apr 2015 14:52:46 +0000 (16:52 +0200)]
Adwaita: .title and .subtitle paddings
Only set side paddings for title and subtitle classes, we had 0
vertical padding set there, no idea why, so let's find out...
Matthias Clasen [Tue, 28 Apr 2015 03:31:03 +0000 (23:31 -0400)]
gtk-builder-tool: Separate commands
Add separate commands for validation and simplification.
Matthias Clasen [Tue, 28 Apr 2015 03:08:43 +0000 (23:08 -0400)]
GtkWindow: Use _gtk_builder_lookup_object
Matthias Clasen [Tue, 28 Apr 2015 03:08:28 +0000 (23:08 -0400)]
GtkWidget: Use _gtk_builder_lookup_object
Matthias Clasen [Tue, 28 Apr 2015 03:08:07 +0000 (23:08 -0400)]
GtkSizeGroup: Use _gtk_builder_lookup_object
Matthias Clasen [Tue, 28 Apr 2015 03:07:48 +0000 (23:07 -0400)]
GtkInfoBar: Add a test for 'invalid ID'
Matthias Clasen [Tue, 28 Apr 2015 03:06:06 +0000 (23:06 -0400)]
GtkInfoBar: Use _gtk_builder_lookup_object
Matthias Clasen [Tue, 28 Apr 2015 03:05:49 +0000 (23:05 -0400)]
GtkDialog: Add a test for 'invalid ID'
Matthias Clasen [Tue, 28 Apr 2015 03:03:01 +0000 (23:03 -0400)]
GtkDialog: Use _gtk_builder_lookup_object
Matthias Clasen [Tue, 28 Apr 2015 03:01:46 +0000 (23:01 -0400)]
GtkContainer: Add a test for 'invalid ID'
...and add all the container tests to Makefile.am
Matthias Clasen [Tue, 28 Apr 2015 02:59:20 +0000 (22:59 -0400)]
GtkContainer: Use _gtk_builder_lookup_object
Matthias Clasen [Tue, 28 Apr 2015 02:56:53 +0000 (22:56 -0400)]
GtkBuilder: Report 'invalid ID' errors
Look for a stashed GError after calling custom_tag_end,
custom_finished or parser_finished vfuncs, and report
them up.
Matthias Clasen [Tue, 28 Apr 2015 02:54:25 +0000 (22:54 -0400)]
GtkBuilder: Add new convenience API
Add a convenience function that is like gtk_builder_get_object()
but stashes away a GError if a lookup fails. To make the error
message informative, the function takes a line/column pair.
Doing things this way is necessary because the custom_tag_end,
custom_finished, and parser_finished vfuncs don't take a
GError parameter, despite being called from a place where
we can report a GError back.
Matthias Clasen [Tue, 28 Apr 2015 02:53:42 +0000 (22:53 -0400)]
GtkBuilder: Document private convenience API
Matthias Clasen [Tue, 28 Apr 2015 02:52:03 +0000 (22:52 -0400)]
GtkBuilder: Add an error code for 'invalid ID'
This is in preparation for reporting such errors through GError.
Matthias Clasen [Mon, 27 Apr 2015 23:21:45 +0000 (19:21 -0400)]
Adjust affected tests
Matthias Clasen [Mon, 27 Apr 2015 23:20:29 +0000 (19:20 -0400)]
GtkLabel: Prefix more ui parser errors
This may become useful in gnome-builder for highlighting errors,
so do it consistently.
Matthias Clasen [Mon, 27 Apr 2015 23:16:41 +0000 (19:16 -0400)]
Formatting fixes
Matthias Clasen [Mon, 27 Apr 2015 22:55:14 +0000 (18:55 -0400)]
Add gtk-builder-tool.c to POTFILES.in
Matthias Clasen [Mon, 27 Apr 2015 22:51:46 +0000 (18:51 -0400)]
Add a man page for gtk-builder-tool
Matthias Clasen [Mon, 27 Apr 2015 22:39:22 +0000 (18:39 -0400)]
Translate error messages
Matthias Clasen [Mon, 27 Apr 2015 22:25:09 +0000 (18:25 -0400)]
Do validation before simplification
Use GtkBuilder to parse the file first, and report any errors
it finds before using our own simple-minded parser to simplify.
Matthias Clasen [Sun, 19 Apr 2015 01:03:52 +0000 (21:03 -0400)]
Add a simple commandline tool for ui files
This tool strips properties which are set to their
default value from .ui files.
Fabiano Fidêncio [Tue, 14 Apr 2015 11:25:38 +0000 (13:25 +0200)]
gdkkeys: Add support to _get_scroll_lock_state()
GdkKeymap already has support for _get_num_lock_state() and
_get_caps_lock_state(). Adding _get_scroll_lock_state() would be good
for completness and some backends (Windows?) could take advantage of
this.
Matthias Clasen [Mon, 27 Apr 2015 22:56:16 +0000 (18:56 -0400)]
gtk-encode-symbolic-svg: Mark all strings for translation
A few error messages were missing.
Jakub Steiner [Mon, 27 Apr 2015 22:33:17 +0000 (00:33 +0200)]
HC: include a missing sass function
- used in the color widget
Piotr Drąg [Mon, 27 Apr 2015 18:15:05 +0000 (20:15 +0200)]
Updated POTFILES.skip
Benjamin Otte [Mon, 27 Apr 2015 17:15:43 +0000 (19:15 +0200)]
stylecontext: Clear style property more frequently
We want to clear the style property cache whenever things change in the
tree, not as we previously did only when those changes actually lead to
a different CSS style.
Jakub Steiner [Mon, 27 Apr 2015 15:33:40 +0000 (17:33 +0200)]
HC: tone down backdrop for gtk switches
https://bugzilla.gnome.org/show_bug.cgi?id=746925
Jose Rostagno [Mon, 20 Apr 2015 00:51:46 +0000 (21:51 -0300)]
HAVE_MONITOR_INFO is always defined
https://bugzilla.gnome.org/show_bug.cgi?id=748156
Jose Rostagno [Mon, 20 Apr 2015 00:44:03 +0000 (21:44 -0300)]
drop old compat code, BITMAPV5HEADER is defined on vista+
https://bugzilla.gnome.org/show_bug.cgi?id=748156
Jose Rostagno [Sun, 19 Apr 2015 23:17:53 +0000 (20:17 -0300)]
WM_CLIPBOARDUPDATE is always define on vista+
https://msdn.microsoft.com/en-us/library/windows/desktop/ms649021%28v=vs.85%29.aspx
https://bugzilla.gnome.org/show_bug.cgi?id=748156